/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const orgRouter = {
    path: '/adm',
    component: Layout,
    redirect: 'noredirect',
    name: 'adm',
    meta: {
        title: '行政管理',
        icon: 'tab',
        guid: '82d98fc0-2d02-4f97-b4f1-e111bd0e8bde',
        roles: ['admin']
    },
    children: [{
        path: 'mobilecard',
        component: () =>
            import ('@/views/administration/mobileCard'),
        name: 'adm_mobilecard',
        meta: {
            title: '手机卡管理',
            icon: 'tab',
            guid: 'd402dcf7-ec4d-4181-9767-d46f5aaf3ff8',
            roles: ['admin']
        }
    }, {
        path: 'mbdevice',
        component: () =>
            import ('@/views/administration/mbdevice'),
        name: 'adm_mbdevice',
        meta: {
            title: '手机设备管理',
            icon: 'tab',
            guid: 'ae9f3537-8f0e-4108-8da7-1d8212978f33',
            roles: ['admin']
        }
    }, {
        path: 'device',
        component: () =>
            import ('@/views/administration/device'),
        name: 'adm_device',
        meta: {
            title: '电脑设备管理',
            icon: 'tab',
            guid: '55c7a2b7-b779-48e3-ada7-dbc5f2e1f32c',
            roles: ['admin']
        }
    }, {
        path: 'log',
        component: () =>
            import ('@/views/administration/log'),
        name: 'adm_log',
        meta: {
            title: '操作日志',
            icon: 'tab',
            guid: '6dcbebbc-0aed-44f3-b040-667051c296f9',
            roles: ['admin']
        }
    }]
}

export default orgRouter